package o;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.io.File;

public class amd implements Comparable<amd> {
    @Nullable
    public final File ˊ;
    public final long ˋ;
    public final String ˎ;
    public final boolean ˏ;
    public final long ॱ;
    public final long ॱॱ;

    public /* synthetic */ int compareTo(@NonNull Object obj) {
        return ॱ((amd) obj);
    }

    public amd(String str, long j, long j2, long j3, @Nullable File file) {
        this.ˎ = str;
        this.ॱ = j;
        this.ˋ = j2;
        this.ˏ = file != null;
        this.ˊ = file;
        this.ॱॱ = j3;
    }

    public boolean ˋ() {
        return this.ˋ == -1;
    }

    public boolean ˊ() {
        return !this.ˏ;
    }

    public int ॱ(@NonNull amd o_amd) {
        if (!this.ˎ.equals(o_amd.ˎ)) {
            return this.ˎ.compareTo(o_amd.ˎ);
        }
        long j = this.ॱ - o_amd.ॱ;
        if (j == 0) {
            return 0;
        }
        return j < 0 ? -1 : 1;
    }
}
